home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Technotools
/
Technotools (Chestnut CD-ROM)(1993).ISO
/
lang_c
/
mscfunct
/
crt_rpix.c
< prev
next >
Wrap
C/C++ Source or Header
|
1987-05-09
|
226b
|
15 lines
#include <dos.h>
int crt_read_pixel( x, y ) int x, y;
{
union REGS regs;
regs.h.ah = 13;
regs.x.dx = y;
regs.x.cx = x;
int86( 0x10, ®s, ®s );
return( (int)regs.h.al );
}